﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmallJob.Data.Interfaces
{
    public interface IRepository<T> where T: class
    {
        void Add(T Entity);
        void Update(T Entity);
        void Delete(T Entity);
        T GetById(int Id);
        IEnumerable<T> All();
        void Update(List<T> Entities);
    }
}
